<!DOCTYPE html>
<!-- saved from url=(0052)http://getbootstrap.com/docs/4.0/examples/dashboard/ -->
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>

    <title>添加成绩</title>
    <!-- Bootstrap core CSS -->
    <link href="../static/asserts/css/bootstrap.min.css" th:href="@{/asserts/css/bootstrap.min.css}" rel="stylesheet">
    <!-- Custom styles for this template -->
    <link href="../static/asserts/css/dashboard.css" th:href="@{/asserts/css/dashboard.css}" rel="stylesheet">
    <style type="text/css">
        /* Chart.js */

        @-webkit-keyframes chartjs-render-animation {
            from {
                opacity: 0.99
            }
            to {
                opacity: 1
            }
        }

        @keyframes chartjs-render-animation {
            from {
                opacity: 0.99
            }
            to {
                opacity: 1
            }
        }

        .chartjs-render-monitor {
            -webkit-animation: chartjs-render-animation 0.001s;
            animation: chartjs-render-animation 0.001s;
        }
    </style>
</head>

<body>
<div th:replace="sidbar::#topbar"></div>

<div class="container-fluid">
    <div class="row">
        <div th:replace="sidbar::#sbar(activeUri='main.html')"></div>

        <main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4">
            <div class="chartjs-size-monitor"
                 style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px; overflow: hidden; pointer-events: none; visibility: hidden; z-index: -1;">
                <div class="chartjs-size-monitor-expand"
                     style="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;">
                    <div style="position:absolute;width:1000000px;height:1000000px;left:0;top:0"></div>
                </div>
                <div class="chartjs-size-monitor-shrink"
                     style="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;">
                    <div style="position:absolute;width:200%;height:200%;left:0; top:0"></div>
                </div>
            </div>


            <div style="width: 600px;height: 700px;margin: auto">
                <br>
                <div   style="font-size: large;text-align: center;border: 1px gray solid;background: #d2ffa9">
                    <br>  [[${bj}]]成功！成绩信息： <br>
                    <br>
                    <div  class="panel panel-info" >
                        <span th:text="'学生：'+${score.getStudent().getName()}"></span>
                    </div>
                    <br>  <br>
                    <div th:text="'考试编号：'+${score.getEid()}"></div>
                    <br>  <br>
                    <div th:text="'考试科目：'+${score.getExam().getSubjects()}"></div>
                    <br>  <br>
                    <div th:text="'考试成绩：'+${score.getScore()}"></div>
                    <div style="margin: auto;margin-right: 100px;margin-top: 40px">
                        <a  class="btn btn-primary" th:href="@{/score/score(sid=${score.getStudent().getId()})}" style="margin-left: 80px"
                            th:text="返回"></a>
                    </div>
                </div>


            </div>



        </main>
    </div>
</div>


</body>

</html>